package com.zbu.Object.equals;

import com.zbu.Object.toString.Student;

public class EqualsDemo {
    public static void main(String[] args) {
        Student stu1 = new Student("张三",23);
        Student stu2 = new Student("张三",23);

        System.out.println(stu1.equals(stu2));
    }
}
